<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>借书</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/twitter-bootstrap/3.4.1/css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/borrow.css">
</head>
<body>
    <div id="header">
        <!-- 先判断是否登录,再添加页头 -->
    </div>

    <div class="title">
        <div class="bg"></div>
        <h1>借书</h1>
    </div>
    
    <div class="col-xs-12">
        <form action="" method="GET" id="search" class="container-center">
            <div class="input-group input-group-lg">
                <div class="input-group-btn">
                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <span id="search-type">书名</span>
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu">
                        <li><a id="select-name" class="pointer select-menu">书名</a></li>
                        <li><a id="select-author" class="pointer select-menu">作者</a></li>
                        <li><a id="select-cate" class="pointer select-menu">分类</a></li>
                    </ul>
                </div>
                <input type="hidden" name="type" id="hidden-type" class="form-control" value="name">
                <input type="text" name="q"  id="query" class="form-control" placeholder="搜索你想查询的图书、作者、分类">
                <span class="input-group-btn">
                    <button class="btn btn-default" id="search-submit" type="submit" aria-label="go-search">
                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
                    </button>
                </span>
            </div>
        </form>
        <div id="div-results">
            <ul id="ul-results" class="list-group row">
                
            </ul>

            <nav class="nav-center" aria-label="Page navigation">
                <ul class="pagination pagination-lg">
                    <li id="pre-page">
                        <a href="" aria-label="Previous">
                            <span aria-hidden="true">&laquo;</span>
                        </a>
                    </li>
                    
                    <li id="next-page">
                        <a href="" aria-label="Next">
                            <span aria-hidden="true">&raquo;</span>
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
    
    
    
    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/3.4.1/js/bootstrap.js"></script>
    <script src="../js/common_fns.js"></script>
    <script src="../js/vheader.js"></script>
    <script src="../js/borrow.js"></script>
</body>
</html>